﻿using System.Windows.Controls;
using Microsoft.Practices.Unity;
using TripAssistantDesktop.ViewModel;

namespace TripAssistantDesktop.View
{
    /// <summary>
    /// Interaction logic for TripsNavigationView.xaml
    /// </summary>
    public partial class TripsNavigationView : UserControl
    {
        public TripsNavigationView( IUnityContainer container)
        {
            InitializeComponent();
            DataContext = container.Resolve<ITripsNavigationViewModel>(); 
        }
    }
}
